package Strategy_Pattern.Password;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Add_password {
    private String id;
    private String password;
    public Password pd;
    public void setPassword(String password) {
        this.password = password;
    }
    public void setId(String id) {
        this.id = id;
    }

    public void setPd(Password pd) {
        this.pd = pd;
    }
    public String play(){

        return pd.play(this.id,this.password);
    }
}
